<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script>
        let b;
        let s;
        let g;
           for(let i=100;i<1000;i++){
           g= parseInt(i%10);
           s=parseInt(i/10%10);
           b=parseInt(i/100);
           if(i===g*g*g+s*s*s+b*b*b){
              console.log(i);
           }
        }
    </script>
</head>
<body>

</body>
</html>